import Common from "../Common/common"
export default class revolve extends Laya.Script{
	constructor(){
        super();

        Laya.timer.once(500,this,this.upward);
        Common.timeArray.push(this)
    }

   
    upward(){
        Laya.timer.frameLoop(1,this,()=>{
            this.owner.rotation += 1;
        })
    }
    
}